package com.suanfa.island;

public class IsLandUtil {
    public static boolean inArea(int[][] arr, int r, int c){
        return c>=0 && r>=0 && r< arr.length && c< arr[0].length;
    }
}
